FROM mysql:5.7.17
MAINTAINER harrison
ADD ./slave/my.cnf /etc/mysql/conf.d/my.cnf
RUN chmod 644 /etc/mysql/conf.d/my.cnf

# VOLUME /var/lib/mysql
ADD ./data/init/slave.sql /docker-entrypoint-initdb.d/
